package com.mcdao;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableEurekaClient
@EnableHystrix
@ComponentScan("com.mcdao")
public class ServiceClientApplication {
	public static void main(String[] args) {
		new SpringApplicationBuilder(ServiceClientApplication.class).web(true).run(args);
	}
}
